package cn.yunyichina.provider.pay.service;

import java.util.List;
import java.util.Map;

import cn.yunyichina.provider.iface.entity.base.Org;
import cn.yunyichina.provider.iface.entity.common.Response;
import cn.yunyichina.provider.iface.entity.common.ResponseObject;

/**
 * Created by Joezhou on 2016/10/26.
 */
public interface FinanceService {
	public Response createdFinanceSettingBill(String strJson) throws Exception;
	public List<Map<String,Object>> createBill(String strJson) throws Exception;
	
	/**
	 * 
	 * 设置-医院列表
	 * yyt.pay.finance.setting.hospital.query
	 * @param strJson
	 * @return
	 */
	public Map<String,Object> queryFinanceSettingHospital(String strJson);
	public Map<String,Object> logFinanceSetting(String strJson);
	
	public Map<String,Object> createBill(List<Org> orgs,String date);
	public List<Map<String,Object>> createBill(List<Org> orgs,String beginDate,String endDate);

    ResponseObject queryFinanceSummary(String datas);

    ResponseObject queryFinanceSummaryByChannel(String datas);

    ResponseObject queryFinanceDetailByChannel(String datas);

    Map<String, Object> queryFinanceRecords(String datas);

    ResponseObject manageFinanceErrorRecord(String datas);

    ResponseObject queryFinanceHospitalChannel(String datas);

    List<Map<String,Object>> queryFinanceSummaryTimeperiod(String datas);

	Map<String, Object> queryFinanceDetailsHisdetails(String datas);

	Map<String, Object> queryFinanceDetailsPatdetails(String datas);

	Map<String, Object> queryFinanceDetailsThirdpayment(String datas);

	Map<String, Object> queryFinanceSummaryDifference(String datas);

    ResponseObject queryFinanceDetailsPatstatistics(String datas);

    ResponseObject downloadFinanceExcel(String datas);
    /**
	 * 
	 * 设置-对账生成-重置
	 * yyt.pay.finance.setting.bill.reset
	 * @param strJson
	 * @return 成功返回true，否则返回false
	 */
	public Boolean resetFinanceSettingBill(String strJson);
}
